<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
</head>
<body>
<a href="/create/">新建</a>>
<table>
    <thead></thead>
    <tr>
    <tr>同户名</tr>
    <tr>性别</tr>
    <tr>地址</tr>
    <tr>操作</tr>
    </tr>
    <tbody>
    {{ range . }}
    <tr>
        <td>{{.Name}}</td>
        <td>{{ if .Sex }}男{{ else }}女{{ end }}</td>
        <td>{{ .Addr }}</td>
        <td>
            <a>编辑</a>>
            <a href="/delete/?id={{.Id}}">删除</a>>


        </td>
    </tr>
    {{.}}
    {{ end }}


    </tbody>
</table>
</body>
</html>